<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <!-- 引入 Leaflet 样式  -->
     <link rel="stylesheet" href="libs/leaflet/leaflet.css" />
<!--    <link href="https://cdn.bootcdn.net/ajax/libs/leaflet/1.9.4/leaflet.css" rel="stylesheet">-->
    <!-- 引入 Leaflet 脚本  -->
     <script src="libs/leaflet/leaflet.js"></script>
<!--    <script src="https://cdn.bootcdn.net/ajax/libs/leaflet/1.9.4/leaflet-src.js"></script>-->
    <title>Document</title>
</head>

<body>
    <div id="map" style="height: 100vh;"></div>
    <script>
        //初始化地图容器对象，设置地图中心点与缩放级别
        const map = L.map('map').setView([32.40, 119.40], 13);
        //加载星图地球影像图层
        const imgLayer = L.tileLayer('https://tiles1.geovisearth.com/base/v1/img/{z}/{x}/{y}?format=webp&tmsIds=w&token=29fbc555c8331c640b6c804dce954c4ad2bbf97a96a1c72b510344f4d87ae7e2', {
            maxZoom: 18
        }).addTo(map);
       //加载星图地球影像注记图层
        const annoLayer = L.tileLayer('https://tiles1.geovisearth.com/base/v1/cia/{z}/{x}/{y}?format=png&tmsIds=w&token=29fbc555c8331c640b6c804dce954c4ad2bbf97a96a1c72b510344f4d87ae7e2',{
            maxZoom: 18
        }).addTo(map);

    </script>
</body>

</html>